package com.vegetable.modules.mapper.inbound;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.vegetable.modules.entity.inbound.PurchaseDelivery;
import com.vegetable.modules.entity.inbound.po.PurchaseDeliverySequencePO;
import com.vegetable.modules.vo.PurchaseDeliveryDetailVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 入库-采购收货表 Mapper 接口
 * </p>
 *
 * @author wangruijie
 * @since 2024-03-09
 */
@Mapper
public interface PurchaseDeliveryMapper extends BaseMapper<PurchaseDelivery> {

    /**
     * 生成流水单号
     * @return
     */
    String getNextCode();

    IPage<PurchaseDeliveryDetailVO> sequence(IPage iPage, PurchaseDeliverySequencePO po);
}
